package com.example.shuiyin.constant;

public class Constants {
    // 微信接口
    public static final String WX_CODE2SESSION_URL = "https://api.weixin.qq.com/sns/jscode2session";
    
    // 文件相关
    public static final String FILE_SEPARATOR = "/";
    public static final String TEMP_DIR = "temp";
    public static final String RESULT_DIR = "result";
    
    // 平台标识
    public static final String PLATFORM_DOUYIN = "douyin";
    public static final String PLATFORM_KUAISHOU = "kuaishou";
    public static final String PLATFORM_WEIBO = "weibo";
    
    // 媒体处理
    public static final int DEFAULT_TIMEOUT = 30000; // 30秒
    public static final int MAX_RETRY = 3;
    
    // 错误信息
    public static final String ERROR_TOKEN_EMPTY = "Token不能为空";
    public static final String ERROR_TOKEN_INVALID = "无效的token或已过期";
    public static final String ERROR_TOKEN_SIGNATURE = "Token签名验证失败";
    public static final String ERROR_USER_NOT_FOUND = "用户不存在";
    public static final String ERROR_ACCESS_DENIED = "无权访问此资源";
    public static final String ERROR_AUTHENTICATION_FAILED = "认证失败";
} 